export type spanEunm = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24

import type { cardScript } from "../cardData/cardScript"
export type colData ={
        value: string
        span: spanEunm
        option: colDataOption
        others?: colDataOthers
}
export type colDataOption ={
        type?: 'rollable' | 'textarea' | 'progress' | 'double_progress' | 'eunm' | 'image' 
        readonly?: boolean
        placeholder?: string
}
export type colDataOthers = {
        max?: number
        secondMax?: number
        min?: number
        colors?: (string | undefined)[]
        clickable?: boolean
        hideValue?: boolean
        valueOption?: (string)[]
        lines?:number
}
export type colOption= {
        type?: 'rollable' | 'textarea' | 'progress' | 'double_progress' | 'eunm' | 'image' 
        readonly?: boolean|cardScript
        placeholder?: string|cardScript
}
export type colOthers = {
        max?: number|cardScript
        secondMax?: number|cardScript
        min?: number|cardScript
        colors?: (string | undefined|cardScript)[]
        clickable?: boolean|cardScript
        hideValue?: boolean|cardScript
        valueOption?: (string|cardScript)[]
        lines?:number|cardScript
}
export type col ={
        key: string
        span?: spanEunm 
        option?: colOption 
        others?: colOthers 
        getVaule?: cardScript
        setVaule?: cardScript
}